-- GENERATED SPELL FOR [Winterspring Screecher] --


function spell0_7456(pUnit, Event) --@Deafening Screech,n/a--
pUnit:FullCastSpellOnTarget(3589,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7456', 8257, 1)
end

function Sorts_7456(pUnit, Event)
local choix_sorts_7456 = math.random(0, 0)
if choix_sorts_7456 == 0 then
pUnit:RegisterEvent('spell0_7456', 1, 1)
end
end

function mob7456_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7456', math.random(1500, 3000), 1)
end

function mob7456_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7456_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7456_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7456, 1, 'mob7456_Action')
RegisterUnitEvent(7456, 2, 'mob7456_Leave')
RegisterUnitEvent(7456, 3, 'mob7456_Kill')
RegisterUnitEvent(7456, 4, 'mob7456_Die')
